package cn.tedu.front.details.pojo.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

@Data
@TableName("job_category")
public class JobCategory implements Serializable {
    private Long id;
    private String name;
    private Long parentId;
    private Integer depth;
    private List<String> keyWord;
    private Integer sort;
    private Integer enable;
    private Integer isParent;
    private Integer isDisplay;
    /**
     * 数据创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime gmtCreate;

    /**
     * 数据最后修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime gmtModified;
}
